package com.tcs.service;

import com.tcs.model.datastandardization.RequestStanBean;
import com.tcs.model.datastandardization.ResponseStanBean;
import io.netty.channel.ChannelHandlerContext;

/**
 * 服务接口
 */
public interface IDataHandleService {

    /**
     * 处理请求过来的Bean
     * @param requestStanBean
     * @return ResponseStanBean
     */
    ResponseStanBean handleData(ChannelHandlerContext ctx , Object msg);

    /**
     * 检查过来的Data
     * @param requestStanBean
     * @return
     */
    Boolean checkData(RequestStanBean requestStanBean);
}
